home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6823 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.cs.utah.edu!usenet
  2. From: bendixen@eng.utah.edu (mason bendixen)
  3. Newsgroups: comp.lang.c++
  4. Subject: Any luck with STL with g++ 2.7.0 and SunOS 4.1.3
  5. Date: 19 Feb 1996 16:10:59 GMT
  6. Organization: University of Utah
  7. Message-ID: <4ga7ej$i3b@magus.cs.utah.edu>
  8. Reply-To: bendixen@eng.utah.edu
  9. NNTP-Posting-Host: cadesm63.eng.utah.edu
  10.  
  11. Hi
  12.      I have been very excited about STL since I first heard
  13. about it and am in the middle of reading "STL Tutorial and
  14. Reference Guide: C++ Programming with the Standard Template
  15. Library" by Musser & Saini. I now feel somewhat comfortable
  16. with the idea of using STL so I downloaded the HP reference
  17. library and tried compiling a little Hello STL test program.
  18.      I am using a SPARCstation 10 running SunOS 4.1.3 and
  19. g++ 2.7.0 (we will be moving to 2.7.2 sometime soon but not
  20. for atleast a month). The program did not compile because
  21. of the
  22.     #include < all stl files > 
  23. lines. I tried recompiling with
  24.     g++ -idirafter . rest of stuff
  25. and this worked for the stl files, but g++ couldn't locate
  26. new.h. This surprised me since I thought new.h had been part
  27. of the standard for a while. The file that used new.h was
  28. defalloc.h. The read.me file for STL says that the allocator
  29. files (defalloc.h, faralloc.h, hugalloc.h, lngalloc.h, and
  30. lngalloc.h) are samples, and that they should be replaced with
  31. compiler/platform specific versions. Does anyone know where
  32. I might find these? Also, does anyone know of any other obstacles
  33. I might encounter in trying to get STL running with g++?
  34.  
  35. Please respond by E-Mail
  36. Thanks
  37.     Mason Bendixen 
  38.  
  39.  
  40.  
  41.  
  42.